body {
    margin: 0ex 10ex 0ex 10ex;
    padding: 0ex;
    font-family: helvetica, tahoma, arial, verdana, sans-serif;
    font-size: 2ex;
    color: #333;
    background-color: #444;
}

pre {
    font-family: "Courier New", Courier, mono;

    font-style: normal;
    background-color: #FFFFFF;
    white-space: pre
}

h1 {
    margin: 1ex 0ex 1ex 0ex;
    padding: 0ex;

    line-height: 3ex;
    font-weight: 900;
    color: #666;
}

h2 {
    margin: 2ex 0ex 1ex 0ex;
    padding: 0ex;

    line-height: 2ex;
    font-weight: 700;
    color: #444;
}

h3 {
    margin: 1ex 0ex 1ex 0ex;
    padding: 0ex;

    line-height: 1.6ex;
    font-weight: 700;
    color: #222;
}

p {
    font-family: helvetica, tahoma, arial, verdana, sans-serif;

    margin: 0ex 0ex 0ex 0ex;
    padding: 2ex;
}

img {
    border: 0;
}

li {
    font-family: helvetica, tahoma, arial, verdana, sans-serif;

    margin: 0ex 0ex 0ex 0ex;
    padding: 0ex;
}

table {
    border-width: 0;
    empty-cells: show;
}

td, th {
    empty-cells: show;
    padding: .3ex .3ex;
    vertical-align: top;
    text-align: left;
    border-width: 0;
    border-spacing: 0;
    background-color: #ececec
}

th {
    font-weight: bold;
    background-color: #e2e2e2;
}

a, a:visited, a:link {
    color: #039;

    text-decoration: none;
    font-family: helvetica, tahoma, arial, verdana, sans-serif;
}

a:hover {
    color: #69f;
}

a.Button, a.Button:link, a.Button:visited {
    padding: .3ex;
    color: #fff;
    background-color: #005e21;
    text-decoration: none;
    font-family: helvetica, tahoma, arial, verdana, sans-serif;
    font-size: 1.5ex;
}

a.Button:hover {
    color: #000;
    background-color: #54c07a;
}

/* Logo 样式 */
#Logo {
    width: 33%;
    height: 9ex;
    margin: 0;
    padding: 0;
    border-width: 0 0 0.3ex 0;
    border-style: solid;
    border-color: #91c691;
    float: left;
    background-color: #91c691;
    color: #4e802c;
    line-height: 9ex;
    voice-family: "\"}\"";
    voice-family: inherit;
    position: relative; /* 添加相对定位，为子元素定位提供基准 */
}

body > #Logo {
    height: 10ex;
}

#LogoContent {
    position: relative;
}

#LogoContent img {
    clip-path: polygon(0 0, 23% 0, 23% 100%, 0 100%); /* 只显示左半部分 */
    position: relative;
    z-index: 1;
    height: 9ex;
}

#LogoContent p {
    position: absolute;
    top: -2ex;
    left: 23%;
    color: #4e802c;
    font-size: 20px;
    font-family: 'Comic Sans MS', cursive;
}


#Menu {
    width: 33%;
    height: 8.6ex;
    margin: 0ex 0ex 0ex 0ex;
    padding: 0ex 0ex 0ex 0ex;
    border-width: 0ex 0ex.3ex 0px;
    border-style: solid;
    border-color: #91c691; /* 浅绿色边框 */
    float: left;
    background-color: #91c691; /* 淡绿色背景 */
    color: #336633; /* 深一些的绿色文字 */
    font-family: 'Comic Sans MS', cursive;
    text-align: center;
    text-decoration: none;
    font-family: 'Comic Sans MS', cursive;
    text-align: center;
    line-height: 9ex;
    voice-family: "\"}\"";
    voice-family: inherit;
}

#Menu, #Menu a, #Menu a:link, #Menu a:visited, #Menu a:hover {
    color: #336633; /* 深一些的绿色文字 */
    text-decoration: none;
    font-family: 'Comic Sans MS', cursive;
}

body>#Menu {
    height: 9ex;
}

#Search {
    width: 33%;
    height: 9ex;
    margin: 0ex 0ex 0ex 0ex;
    padding: 0ex 0ex 0ex 0ex;
    border-width: 0ex 0ex.3ex 0px;
    border-style: solid;
    border-color: #91c691; /* 浅绿色边框 */
    float: left;
    text-align: center;
    background-color: #91c691; /* 淡绿色背景 */
    color: #336633; /* 深一些的绿色文字 */
    line-height: 9ex;
    voice-family: "\"}\"";
    voice-family: inherit;
    height: 9ex;
}

body>#Search {
    height: 9ex;
}

#Search input {
    border-width:.1ex.1ex.1ex.1ex;
    border-style: solid;
    border-color: #c8e8c8; /* 更浅的绿色边框 */
    background-color: #70a170; /* 更淡的绿色背景 */
    color: #2b562b; /* 深一些的绿色文字 */
}

.search-button {
    transition: all 0.3s ease;
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 14px;
    color: inherit; /* 初始颜色与父元素颜色一致，避免突兀 */
}

.search-button:hover {
    transform: scale(1.1);
    color: green;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

#QuickLinks {
    position: relative;
    display: flex;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    text-align: center;
    background-color: #99CC99; /* 更淡的绿色背景 */
    width: 99%;
    height: 4ex;
}

#QuickLinks a {
    width: 33.33%;
    height: 3.5ex;
    margin: 0ex;
    padding: 0ex;
    text-align: center;
    font-size: 25px;
    text-decoration: none;
    color: #fff;
    line-height: 2ex;
    font-family: 'Comic Sans MS', cursive;
    tabindex: 0; /* 添加 tabindex 使其可聚焦 */
}
#QuickLinks a:hover, #QuickLinks a:focus {
    font-size: 30px;
    color: #336633;
}



#PoweredBy {
    width: 30%;
    height: 8.6ex;
    margin: 0ex;
    padding: 0ex;
    border-width: 0.3ex 0ex 0.3ex 0px;
    border-style: solid;
    border-color: #91c691;
    float: left;
    background-color: #91c691;
    line-height: 9ex;
    font-family: 'Comic Sans MS', cursive;
    text-align: center;
}

body>#PoweredBy {
    height: 9ex;
}

#PoweredBy button {
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.5ex 1ex; /* 增加内边距使按钮变大 */
    width: 40%; /* 设置按钮宽度占父容器的 40% */
    height: 60%; /* 设置按钮高度占父容器高度的 60%，可根据需要调整 */
    margin-top: 1.5ex; /* 调整按钮垂直位置，可根据需要调整 */
    cursor: pointer;
}

#PoweredBy button a {
    text-decoration: none;
    color: inherit;
}

#PoweredBy button:hover a {
    text-decoration: underline;
}


#Banner {
    width: 69%;
    height: 9ex;
    margin: 0ex 0ex 0ex 0ex;
    padding: 0ex 0ex 0ex 0ex;
    border-width:.3ex 0ex.3ex 0px;
    border-style: solid;
    border-color: #70a170;
    float: left;
    background-color: #91c691;
    color: #70a170;
    line-height: 9ex;
    voice-family: "\"}\"";
    voice-family: inherit;
}
body>#Banner {
    width: 69%;
    margin: 0ex 0ex 0ex 0ex;
    padding: 0ex 0ex 0ex 0ex;
    border-width:.3ex 0ex.3ex 0px;
    border-style: solid;
    border-color: #91c691;
    float: left;
    background-color: #91c691;
    color: #fff;
    line-height: 9ex;
    voice-family: "\"}\"";
    voice-family: inherit;
}


#Content {
    margin: 0;
    padding: 0ex 0ex 0ex 0ex;
    width: 99%;
    color: #333;
    background-color: #FFF;
    border-width: 0;
}

#Separator {
    clear:both;
    margin: 0;
    height:0;
}

#Main {
    margin: 0;
    padding: 1ex;
    color: #333;
    background-color: #FFF;
    border-width: 1ex 0ex 2ex 0px;
    border-style: solid;
    border-color: #fff;
}

#Sidebar {
    float: left;
    background:inherit;
    width: 30%;
    font-family: 'Comic Sans MS', cursive;
    text-align:center;
    margin: 0;
    padding: 0;
    border-width: 0;

}

#MainImage {
    float: left;
    background:inherit;
    text-align:center;
    width: 50%;
}

#Catalog {
    padding: 1ex;
    background:inherit;
    text-align:center;
}

#Catalog input[type="submit"]{
    padding: .3ex;
    color: #fff;
    background-color: #005e21;
    text-decoration: none;
    font-family: helvetica, tahoma, arial, verdana, sans-serif;
    font-size: 1.5ex;
    border-width:0;
}
#Catalog input[type="submit"]:hover {
    color: #000;
    background-color: #54c07a;
    cursor:pointer;
}

#Catalog table{
    margin-left:auto;
    margin-right:auto;
}

#BackLink{
    padding: 1ex;
    float: right;
    border-width: .1ex 0ex .1ex 0px;
    border-style: solid;
    border-color: #000;
}

#Cart{
    width: 69.99%;
    float: left;
    background-color:#fff;
}

#MyList{
    width: 30%;
    float: left;
    background-color:#ccc;
    text-align:left;
}
